
import { axios } from '@/utils/request'

const api = {
  productBatchProcessLogList:  '/plugins/product_traceability/product-batch-process-log/product-batch-process-log-list',
  productBatchProcessLogOperate: '/plugins/product_traceability/product-batch-process-log/product-batch-process-log-operate',
  delProductProcessLogBatch: '/plugins/product_traceability/product-batch-process-log/product-batch-process-log-del',
}

export default api


export function getProductBatchProcessLogList (parameter) {
  return axios({
    url: api.productBatchProcessLogList,
    method: 'get',
    params: parameter
  })
}


export function productBatchProcessLogOperate (parameter) {
  return axios({
    url: api.productBatchProcessLogOperate,
    method: 'post',
    data: parameter
  })
}



export function delProductProcessLogBatch (parameter) {
  return axios({
    url: api.delProductProcessLogBatch,
    method: 'get',
    params: parameter
  })
}